﻿using DapperExtensions.Mapper;
using ZLWeb.WebApiEntityBase;

namespace ZL.CRM.CommonEntity.AccOpr.Web
{
    public class AccThrCzYwdetail: QMessage
    {
        public override string Queue { get { return "ThrCzYwdetail"; } }
        public override string MessageRouter
        {
            get { return "ThrCzYwdetail"; }
        }

        public AccThrCzYwcore Ywcore { get; set; }

      
        /// <summary>
        ///  窗口名称="手机微信充值"
        /// </summary>
        public string oprywwindow { get; set; }

        /// <summary>
        ///  业务摘要
        /// </summary>
        public string oprsummary { get; set; }

        /// <summary>
        ///  服务号账号
        /// </summary>
        public string tlqyh { get; set; }

        /// <summary>
        ///  商户号
        /// </summary>
        public string tlmchid { get; set; }

        /// <summary>
        ///  微信支付订单号
        /// </summary>
        public string tljylsh { get; set; }

        /// <summary>
        ///  用户标识 openid
        /// </summary>
        public string tlyhbj { get; set; }

        /// <summary>
        ///  是否关注公众账号0-否1-是
        /// </summary>
        public short tlgzzhbj { get; set; }

        /// <summary>
        ///  付款银行
        /// </summary>
        public string tlfkyh { get; set; }

        /// <summary>
        ///  支付状态说明(针对失败/未知的错误说明)
        /// </summary>
        public string tlsjzfsm { get; set; }

        /// <summary>
        ///  支付过程中发生的返回字符串
        /// </summary>
        public string tlsjcxzffhwj { get; set; }

        public string tllshfjz { get; set; }


    }

    public class AccThrCzYwdetailMapper : ClassMapper<AccThrCzYwdetail>
    {
        public AccThrCzYwdetailMapper()
        {
            Table("#ywdetail");
            Map(f => f.tlqyh).Column("tlqyh");
            Map(f => f.tlmchid).Column("tlmchid");
            Map(f => f.tljylsh).Column("tljylsh");
            Map(f => f.tlyhbj).Column("tlyhbj");
            Map(f => f.tlgzzhbj).Column("tlgzzhbj");
            Map(f => f.tlfkyh).Column("tlfkyh");
            Map(f => f.tlsjzfsm).Column("tlsjzfsm");
            Map(f => f.tlsjcxzffhwj).Column("tlsjcxzffhwj");
            Map(f => f.oprywwindow).Column("oprywwindow");
            Map(f => f.oprsummary).Column("oprsummary");
        }
    }
}
